package common.wx;

public class WxConfig {
	//private final static String wx_base_url = "https://api.mch.weixin.qq.com/mmpaymkttransfers/sendredpack";
	
	// 当前为91商户帐号
	public final static String test_openid = "olohXxOlYV1DzEuBEdj2gyL6vq68";

	// 密钥
	//public final static String wx_key = "2015091116280420150911162804FUXI";
	//public final static String wx_key = "2016071215934983132138765NUOMATE";//诺玛特
	public final static String wx_key = "20170712159349831321387658cloud_ifw";//诺云
	// 商户号
	//public final static String wx_mch_id = "1272077101";
	//public final static String wx_mch_id = "1356095702";//诺玛特
	public final static String wx_mch_id = "1332029301";//诺云
	
	// appId
	//public final static String wx_appid = "wx84c7f06b0f3ce638";
	//public final static String wx_appid = "wx67fcf405ce0989c6";// 诺玛特
	public final static String wx_appid = "wx374fb00e61ebac00";// 诺云
	// appSecret
	//public final static String wx_appsecret = "dbff826e9e5943444fb3102eb2dc4ceb";
	//public final static String wx_appsecret = "ab45704ea3c4a9e7a079da2c6b32f222"; //诺玛特
	public final static String wx_appsecret = "4fd9fc35908a997544442c644af291f1"; //诺云
	
	
	// 微信商户平台，证书路径
	//public static final String wx_cert = "/assets/hdgame.p12";
	public static final String wx_cert = "/assets/apiclient_cert.p12";
	// 微信商户平台，证书密码
	
	public static final String wx_cert_pwd = "1332029301";
	// 服务器ip
	public final static String wx_client_ip = "121.42.160.187";
	// public final static String wx_client_ip = "139.205.149.224";

	public final static String trade_type_jsapi = "JSAPI";
	/**
	 * 订单异步通知地址
	 */
	// 普京回调
	public final static String url_notify_pujing = "http://www.5buer.com/cloud_ifw/order/brow_ordernotify.action";
	// 摇骰子回调
	public final static String url_notify_yaoshaizi = "http://www.5buer.com/cloud_ifw/order/brow_ordernotifyy.action";
	// 炸金花回调
	public final static String url_notify_zhajinhua = "http://www.5buer.com/cloud_ifw/order/brow_ordernotifyz.action";
	// 老虎机回调
	public final static String url_notify_laohuji = "http://www.5buer.com/cloud_ifw/order/brow_ordernotifylhj.action";
	// 查询订单
	public final static String url_query = "https://api.mch.weixin.qq.com/pay/orderquery";
	public final static String url_qiyefukuan = "https://api.mch.weixin.qq.com/mmpaymkttransfers/promotion/transfers";
	/**
	 * 公众号支付-统一下单
	 */
	public final static String url_unifiedorder = "https://api.mch.weixin.qq.com/pay/unifiedorder";
	/**
	 * 刷卡支付
	 */
	public final static String url_shuaka_micropay = "https://api.mch.weixin.qq.com/pay/micropay";
	/**
	 * 刷卡支付-查询订单
	 */
	public final static String url_shuaka_orderquery = "https://api.mch.weixin.qq.com/pay/orderquery";
	/**
	 * 创建菜单
	 */
	public final static String url_menu_create = "https://api.weixin.qq.com/cgi-bin/menu/create";

	/**
	 * 获取token
	 */
//	public final static String url_gettoken = "https://api.weixin.qq.com/cgi-bin/token?grant_type=client_credential&appid=APPID&secret=APPSECRET";
	public final static String url_gettoken = "http://wxauth.1390mall.com/wxauth/wx/accounts_getaccesstoken.action?appId=APPID&appSecret=APPSECRET";

}
